<?php
/**
 *  Generic Abstract Model: per-row table access
 *
 *  Similar to Active Record pattern, in which the record is implemented in Item,
 *      and the data access in Action.
 *  Implement the common methods of selecting items and executing actions
 *
 */
namespace Yz\modules\News;

class Model_Stream
    extends \Yz_Model_ActiveRecord
{


    /** Model's fields definition
     *  @return this
     */
    protected function init()
    {
        debug();
        $d =& $this->__dict__;
        $d['id']     = new \Yz_Model_Field_Id();
        $d['title']  = new \Yz_Model_Field_String();
        return $this;
    }

}
